import {createRouter,createWebHashHistory} from "vue-router";

export default createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:"/",
            redirect:"/home"
        },
        {
            path:"/home",
            component:()=> import("../view/Home")
        },{
            path:"/about",
            component:()=> import("../view/About")
        }
    ]
})
